package com.xd.core.product.mapper;

import com.xd.core.company.vo.CompanyAgencyVo;
import com.xd.core.product.entity.ProductCompany;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 企业产品关联信息 Mapper 接口
 * </p>
 *
 * @author ZX
 * @since 2025-02-23
 */
public interface ProductCompanyMapper extends BaseMapper<ProductCompany> {

    void insertBatch(List<ProductCompany> list);

    CompanyAgencyVo getDetailById(Integer id);

    List<ProductCompany> selectProductCompanies(Integer companyId);

    List<Integer> selectProductIds(Integer companyId);
}
